package com.emergency.db.service.work;

import com.emergency.base.domain.Army;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ArmyService {
    Long save(Army army);

    void saveAll(List<Army> armyList);

    Army findById(Long id);

    List<Army> findAll();

    Long delete(Long id);

    Page<Army> findList(Map searchMap, int page, int size);
}
